home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / games / 2a / applicat.ion / epfx80.hex < prev    next >
Text File  |  1985-05-29  |  10KB  |  262 lines

  1. ****************************************************************
  2. *
  3. *    Epson FX-80 Matrix Printer Driver Configuration Table
  4. *
  5. *    some commands for RX80 and JX80 are also included,
  6. *    but they are commented out.
  7. *
  8. *    This file contains tables defining the code sequences
  9. *    to be sent to the printer to perform various functions
  10. *    and to access the characters from codes in the Atari
  11. *    character set.
  12. *
  13. ****************************************************************
  14.  
  15. *
  16. * Name of printer
  17. * ===============
  18. *
  19. Epson FX-80
  20.  
  21. *
  22. * Miscellaneous configurable variables
  23. * ====================================
  24. *
  25. * 1: printer type, 0=dot matrix, 1=daisy wheel
  26. *    Note if printer type is 0 the following 4 variables are never used.
  27. * 2: unit width of one character
  28. * 3: unit height of one line
  29. * 4: Approximate middle of carriage after formfeed
  30. * 5: Carriage shift for bold overstrike
  31. *
  32. 0, 0, 0, 0, 0
  33.  
  34. *
  35. * Printer characteristics
  36. * =======================
  37. *
  38. * This table specifies the printer command sequences.
  39. * If the top bit of a code is set, then this indicates the position
  40. * of a parameter passed to the printer. The code whose top bit is set
  41. * in this table is added to the parameter passed before being sent to the
  42. * printer. It is not used in all command sequences, only in those where 
  43. * the printer requires  a variable value such as the length of a vertical 
  44. * tab.
  45. *
  46. * 0            * Character width
  47. 1, D, A        * Linefeed WITH return
  48. * 2            * Forward print
  49. * 3            * Reverse print
  50. 4, 1B, 42, 80, 0, B                * Vertical tab to line (FX or LX)
  51. * 5            * Absolute horizontal tab 
  52. 6, 1B, 47      * Draft bold on
  53. 7, 1B, 48      * Draft bold off
  54. 8, 1B, 45, 1B, 47      * Near Letter Quality (NLQ) bold on (LX80)
  55. 9, 1B, 46              * NLQ bold off
  56. A, 1B, 34      * Draft italic on
  57. B, 1B, 35      * Draft italic off
  58. C, 1B, 34, 1B, 47      * NLQ italic on
  59. D, 1B, 35              * NLQ italic off
  60. E, 1B, 48, 1B, 46      * Draft light on
  61. F, 1B, 48      * Draft light off
  62. 10, 1B, 46, 1B, 48     * NLQ light on
  63. 11, 1B, 47             * NLQ light off
  64. 12, 1B, 53, 0  * Draft superscript on
  65. 13, 1B, 54     * Draft superscript off
  66. 14, 1B, 53, 0, 1B, 47  * NLQ superscript on
  67. 15, 1B, 54             * NLQ superscript off
  68. 16, 1B, 53, 1  * Draft subscript on
  69. 17, 1B, 54     * Draft subscript off
  70. 18, 1B, 53, 1, 1B, 47  * NLQ subscript on
  71. 19, 1B, 54             * NLQ subscript off
  72. 1A, 1B, 2D, 1  * Draft underline on
  73. 1B, 1B, 2D, 0  * Draft underline off
  74. 1C, 1B, 2D, 1, 1B, 47  * NLQ underline on
  75. 1D, 1B, 2D, 0          * NLQ underline off
  76. 1E, C          * Formfeed
  77. 1F, 12         * Horizontal initialisation
  78. * 20           * Vertical initialisation
  79. 21, 1B, 40     * Termination: printer reset
  80. 0              * NULL termination byte
  81.  
  82. *
  83. * Translation Table
  84. * =================
  85. *
  86. * This table provides translation from single Atari input bytes into
  87. * multiple Epson printer codes, and is useful for printing extraneous
  88. * characters such as accented characters etc. All characters are 
  89. * subjected to translation, but if there is no entry in the table for
  90. * a particular code, then the original code is sent to the printer.
  91. *
  92. * The entries must be arranged in ascending order of Atari input
  93. * code. The table is NULL terminated.
  94.  
  95. 0                                  * NULL: print a space 
  96. 1, 1B, 52, 0, 7C, 8, 5E            * Up arrow: USA | backspace USA ^
  97. 2, 1B, 52, 0, 7C, 8, 76            * Down arrow: USA | backspace USA v
  98. 3, 2D, 8, 3E  * Right arrow: - backspace >
  99. 4, 3C, 8, 2D  * Left arrow: - backspace <
  100. 5             * No close box
  101. 6             * No size box
  102. 7             * No full box
  103. 8             * No tick
  104. 9             * No clock
  105. A             * No bell
  106. B             * No musical note
  107. E             * No LH Atari symbol     
  108. F             * No RH Atari symbol
  109. 10, 30        * LCD 0
  110. 11, 31        * LCD 1
  111. 12, 32        * LCD 2    
  112. 13, 33        * LCD 3
  113. 14, 34        * LCD 4
  114. 15, 35        * LCD 5
  115. 16, 36        * LCD 6
  116. 17, 37        * LCD 7     
  117. 18, 38        * LCD 8
  118. 19, 39        * LCD 9     
  119. 23, 1B, 52, 0, 23        * # from USA fount
  120. 24, 1B, 52, 0, 24        * $ from USA fount
  121. 40, 1B, 52, 0, 40        * @ from USA fount
  122. 5B, 1B, 52, 0, 5B        * [ from USA fount
  123. 5C, 1B, 52, 0, 5C        * \ from USA fount
  124. 5D, 1B, 52, 0, 5D        * ] from USA fount
  125. 5E, 1B, 52, 0, 5E        * ^ from USA fount
  126. 60, 1B, 52, 0, 60        * ' from USA fount
  127. 7B, 1B, 52, 0, 7B        * { from USA fount
  128. 7C, 1B, 52, 0, 7C        * | from USA fount
  129. 7D, 1B, 52, 0, 7D        * } from USA fount
  130. 7E, 1B, 52, 0, 7E        * ~ from USA fount
  131. 7F                       * No triangle
  132. 80, 43, 8, 2C            * Capital C cedilla: C backspace ,
  133. 81, 1B, 52, 2, 7D        * Lower case u umlaut from German fount
  134. 82, 1B, 52, 1, 7B        * Lower case e acute from French fount 
  135. 83, 61, 8, 1B, 52, 0, 5E * Lower case a circumflex: a backspace USA ^
  136. 84, 1B, 52, 2, 7B        * Lower case a umlaut from German fount
  137. 85, 1B, 52, 1, 40        * Lower case a grave from French fount
  138. 86, 1B, 52, 4, 7D        * Lower case a boll from Danish 1 fount
  139. 87, 1B, 52, 1, 5C        * Lower case c cedilla from French fount
  140. 88, 65, 8, 1B, 52, 0, 5E * Lower case e circumflex: e backspace USA ^
  141. 89, 65, 8, 1B, 52, 1, 7E * Lower case e umlaut: e backspace French umlaut
  142. 8A, 1B, 52, 1, 7D        * Lower case e grave from French fount
  143. 8B, 69, 8, 1B, 52, 1, 7E * Lower case i umlaut: i backspace French umlaut
  144. 8C, 69, 8, 1B, 52, 0, 5E * Lower case i circumflex: i backspace USA ^
  145. 8D, 1B, 52, 6, 7E        * Lower case i grave from Italian fount
  146. 8E, 1B, 52, 2, 5B        * Capital A umlaut from German fount
  147. 8F, 1B, 52, 4, 5D        * Capital A boll from Danish 1 fount
  148. 90, 1B, 52, 9, 40        * Capital E acute from Norwegian fount
  149. 91, 1B, 52, 4, 7B        * Lower case ae dipthong from Danish 1 fount
  150. 92, 1B, 52, 4, 5B        * Capital AE dipthong from Danish 1 fount
  151. 93, 6F, 8, 1B, 52, 0, 5E * Lower case o circumflex: o backspace USA ^
  152. 94, 1B, 52, 2, 7C        * Lower case o umlaut from German fount
  153. 95, 1B, 52, 6, 7C        * Lower case o grave from Italian fount
  154. 96, 75, 8, 1B, 52, 0, 5E * Lower case u circumflex: u backspace USA ^
  155. 97, 1B, 52, 1, 7C        * Lower case u grave from French fount
  156. 98, 79, 8, 1B, 52, 1, 7E * Lower case y umlaut: y backspace French umlaut
  157. 99, 1B, 52, 2, 5C        * Capital O umlaut from German fount
  158. 9A, 1B, 52, 2, 5D        * Capital U umlaut from German fount
  159. 9B, 63, 8, 1B, 52, 0, 7C * c cent: c backspace USA |
  160. 9C, 1B, 52, 3, 23        * Pound sterling from UK fount
  161. 9D, 1B, 52, 8, 5C        * Yen from Japanese fount
  162. 9E, 1B, 52, 2, 7E        * Esszet from German fount
  163. 9F, 66                   * Lower case swash f: print f
  164. A0, 61, 8, 27            * Lower case a acute: a backspace '
  165. A1, 69, 8, 27            * Lower case i acute: i backspace '
  166. A2, 6F, 8, 27            * Lower case o acute: o backspace '
  167. A3, 75, 8, 27            * Lower case u acute: u backspace '
  168. A4, 1B, 52, 7, 7C        * Lower case n tilde from Spanish fount
  169. A5, 1B, 52, 7, 5C        * Capital N tilde from Spanish fount
  170. A6, 61, 8, 5F            * Lower case a underline: a backspace underline
  171. A7, 6F, 8, 5F            * Lower case o underline: o backspace underline
  172. A8, 1B, 52, 7, 5D        * Inverted ? from Spanish fount
  173. A9                       * No top left corner     
  174. AA                       * No top right corner
  175. AB                       * No 1/2 fraction
  176. AC                       * No 1/4 fraction
  177. AD, 1B, 52, 7, 5B        * Inverted ! from Spanish fount
  178. AE                       * No <<
  179. AF                       * No >>
  180. B0, 61, 8, 1B, 52, 0, 7E * Lower case a tilde: a backspace USA ~
  181. B1, 6F, 8, 1B, 52, 0, 7E * Lower case o tilde: o backspace USA ~
  182. B2, 1B, 52, 4, 5C        * Capital crossed O from Danish 1 fount
  183. B3, 1B, 52, 4, 7C        * Lower case crossed o from Danish 1 fount
  184. B4                       * No lower case oe dipthong
  185. B5                       * No capital OE dipthong
  186. B6, 41                   * No capital A grave: print A
  187. B7, 41                   * No capital A tilde: print A
  188. B8, 4F                   * No capital O tilde: print O
  189. B9, 1B, 52, 1, 7E        * Umlaut from French fount
  190. BA, 27                   * Acute: print '
  191. BB                       * No dagger
  192. BC                       * No paragraph symbol
  193. BD                       * No copyright symbol
  194. BE                       * No Registered symbol
  195. BF                       * No Trademark symbol
  196. C0, 79, 8, 1B, 52, 1, 7E * ij ligature: y backspace French umlaut
  197. C1, 59                   * Capital IJ ligature: print Y
  198. C2        * No Hebrew...
  199. C3
  200. C4
  201. C5
  202. C6
  203. C7
  204. C8
  205. C9
  206. CA
  207. CB
  208. CC
  209. CD
  210. CE
  211. CF
  212. D0
  213. D1
  214. D2
  215. D3
  216. D4
  217. D5
  218. D6
  219. D7
  220. D8
  221. D9
  222. DA
  223. DB
  224. DC
  225. DD, 1B, 52, 2, 40   * Section mark from German fount
  226. DE        * No dropped circumflex
  227. DF        * No infinity
  228. E0        * No alpha
  229. E1, 1B, 52, 2, 7E   * Esszet from German fount     
  230. E2        * No Greek....
  231. E3
  232. E4
  233. E5
  234. E6
  235. E7
  236. E8
  237. E9
  238. EA
  239. EB
  240. EC
  241. ED
  242. EE
  243. EF
  244. F0, 3D, 8, 5F       * Equivalence: = backspace _
  245. F1, 2B, 8, 5F       * +-: + backspace _
  246. F2, 3E, 8, 5F       * >=: > backspace _
  247. F3, 3C, 8, 5F       * <=: < backspace _
  248. F4                  * No integral top piece
  249. F5                  * No integral bottom piece
  250. F6, 3A, 8, 2D       * Division sign: : backspace -
  251. F7                  * No twiddly = symbol
  252. F8, 1B, 52, 1, 5B   * Degree symbol from French fount
  253. F9        * No superior bullet
  254. FA        * No inferior bullet
  255. FB        * No square root sign
  256. FC        * No superior n
  257. FD        * No superior 2
  258. FE        * No superior 3
  259. FF        * No macron     
  260. 0